package com.ruoyi.supplier.domain.vo.purchase;


import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class PurchaseCreateVo {

    /**
     * 备注
     */
    @NotBlank
    private String other;
    /**
     * 主播店铺id
     */
    @NotNull
    private Integer shopId;
    /**
     * 供货商id
     */
    @NotNull
    private Integer supplierId;
    /**
     * 主播id
     */
    @NotNull
    private Integer userId;

    @NotEmpty
    private List<PurchaseCreateItemVo> items;
}
